<h2 class="title3" style="width: 95%">
	编辑研究中心文章
</h2>


<% form_tag("/content/up_research", :method => :post, :name => "postform") do %>
	<p>
		<%= hidden_field_tag :id, @research.id %>
		<label for="research_title" style="font-size: 14px">标题：</label>
		<%= text_field :research, :title, :class => "text",:style => "width:45%" %>
	</p>		

	<p>
		<label for="research_research_category_id" style="font-size: 14px">分类：</label>
    <%= select(:research, :research_category_id, options_for_select(ResearchCategory.all.collect{|e| [e.name, e.id] }), :class => "text", :style => "width: 45%") %>
	</p>
	<%= render :partial => "share/post_content", :locals => {:post => @research} %>
	<br/>
  <%= submit_tag "保存", :class => "submit" %>

<% end %>

<%= render :partial => "share/upload_file" %>
